<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <div>
    <button id="btn">点我展示信息</button>
  </div>
</body>
<script type="module">
  import abc from './js/buttonMethod.js'

  document.getElementById('btn').onclick = function () {
    abc.showButtonMethod('点我干啥, hello world?')
  }
</script>
</html>